#ifndef SAPACKGE_H
#define SAPACKGE_H
#include "../../ejloadpackge.h"
#include "sastrucdef.h"
#include <vector>
#include <unordered_map>

class SaPackge : public EjLoadPackge
{
public:
    SaPackge();

    virtual bool        open(std::string &path);
    virtual void        close();

private :
    bool initRealBin();
    bool initSprBin();

    std::string             m_path;
    std::vector<SPRITEDATA> m_data;

    std::unordered_map<ULONG, SPRITEDATA>   m_anim;
    std::unordered_map<ULONG, ADRNBIN>      m_adrn;
};

#endif // SAPACKGE_H
